package com.mofofa.maozy.data

class ReqImageUpload(
    /** 图片本地路径 */
    val filePath: String,
    /** 媒体类型 */
    var mediaType: String = "image/jpg",
    /** 图片类型 */
    var cardType: String = ""

) : ReqBase() {
    init {
        this.mediaType = if (filePath.endsWith(".png")) "image/png" else "image/jpg"
    }
}